sgdk
Bitmap Struct Reference

#include <bmp.h>

List of all members.

Public Attributes

u16 compression
u16 w
u16 h
const Palettepalette
const u8 * image

Detailed Description

Genesis 4bpp Bitmap structure definition.
Use the unpackBitmap() method to unpack if compression is enabled.

Parameters:
compressioncompression type for image data, accepted values:
COMPRESSION_NONE
COMPRESSION_APLIB
COMPRESSION_RLE
wWidth in pixel.
hHeight in pixel.
palettePalette data.
imageImage data, array size = (w * h / 2).

The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Defines